package com.wyh.abst;

import lombok.Data;

@Data
public abstract class Animal {
    private String name;
    private Integer age;

    public void run(){
        System.out.println("Animal Running......");
    }

    public abstract void sleep();

}
